import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios  from "axios";

// import './plugins/element.js'

import $http from "./http/index.js";
//在引入vue之后
//让$http作为全局变量来使用
Vue.prototype.$http = $http;
Vue.prototype.$axios = axios

Vue.config.productionTip = false
Vue.use(ElementUI);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

